QT       += core gui

QT  +=network
QT  +=sql
QT  +=printsupport

#QT += xlsx

## 使用qtxlsx源代码
#include(src/xlsx/qtxlsx.pri)


# QXlsx code for Application Qt project

#QXLSX_PARENTPATH=./qxlsx/       # current QXlsx path is . (. 表示当前目录)

#QXLSX_HEADERPATH=./qxlsx/header/  # 当前目录下的header子目录

#QXLSX_SOURCEPATH=./qxlsx/source/  # 当前目录下的source子目录

#include(./qxlsx/QXlsx.pri) #.pri文件应该包含了QXlsx库的配置信息

win32: LIBS += -lwlanapi


INCLUDEPATH += -I D:\download\vscode1\python-64-bit(3.12)\include # Python.h
LIBS += -LD:\download\vscode1\python-64-bit(3.12)\libs\
-l_tkinter\
-lpython3\
-lpython312

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11


TARGET  =   .main

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    main.cpp
HEADERS += \
    model.h

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    Resources.qrc



INCLUDEPATH += $$PWD/config
INCLUDEPATH += $$PWD/api
INCLUDEPATH += $$PWD/bll
INCLUDEPATH += $$PWD/Tpkg
INCLUDEPATH += $$PWD/ui

include ($$PWD/config/config.pri)
include ($$PWD/api/api.pri)
include ($$PWD/bll/bll.pri)
include ($$PWD/Tpkg/Tpkg.pri)
include ($$PWD/ui/ui.pri)

#DISTFILES +=

#win32:CONFIG(release, debug|release): LIBS += -L$$PWD/'../../download/vscode1/python-64-bit(3.12)/libs/' -lpython312
##else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/'../../download/vscode1/python-64-bit(3.12)/libs/' -lpython312d

#INCLUDEPATH += $$PWD/'../../download/vscode1/python-64-bit(3.12)/include'
#DEPENDPATH += $$PWD/'../../download/vscode1/python-64-bit(3.12)/include'

##win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/'../../download/vscode1/python-64-bit(3.12)/libs/libpython312.a'
##else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/'../../download/vscode1/python-64-bit(3.12)/libs/libpython312d.a'
#win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/'../../download/vscode1/python-64-bit(3.12)/libs/python312.lib'
##else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/'../../download/vscode1/python-64-bit(3.12)/libs/python312d.lib'
